﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace Perform
{
    public partial class frmFlowerManage : Form
    {
        public frmFlowerManage()
        {
            InitializeComponent();
        }

        private void btnInsert_Click(object sender, EventArgs e)
        {
            palCenter.Controls.Clear();
            frmFlowerInsert frmF = new frmFlowerInsert();
            frmF.TopLevel = false;
            palCenter.Controls.Add(frmF);
            frmF.Show();
        }

        private void palCenter_Paint(object sender, PaintEventArgs e)
        {

        }

        private void pictureBox1_Click(object sender, EventArgs e)
        {

        }

        private void btnSelect_Click(object sender, EventArgs e)
        {
            palCenter.Controls.Clear();
            frmFlowerSelect frmFlower = new frmFlowerSelect();
            frmFlower.TopLevel = false;
            palCenter.Controls.Add(frmFlower);
            frmFlower.Show();
        }

        private void btnUpdate_Click(object sender, EventArgs e)
        {
            palCenter.Controls.Clear();
            frmFlowerUpdate frmFlower = new frmFlowerUpdate();
            frmFlower.TopLevel = false;
            palCenter.Controls.Add(frmFlower);
            frmFlower.Show();

        }

        private void panel1_Paint(object sender, PaintEventArgs e)
        {

        }
    }
}
